#include <string>
#include <unistd.h>
#include <arpa/inet.h>

#include "Constant.h"

using namespace std;

class NetworkTools {
public:
    static bool isServerPortUse();

    static string encryptionMessage(string message);

    static string decryptionMessage(string public_key);
};